home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2a.lha
/
p4-1.2a
/
contrib_f
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1992-10-19
|
905b
|
34 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIB = $(LIBDIR)/libp4.a
FORTLIBDIR = $(P4_HOME_DIR)/lib_f
FORTLIB = $(FORTLIBDIR)/libp4_f.a
MAIN = $(FORTLIBDIR)/p4_fmain.o
LIBS = $(FORTLIB) $(LIB) $(MDEP_LIBS)
default:$(P)
all:$(P)
make $(MFLAGS) norm_master norm_slave
make $(MFLAGS) comm_master comm_slave
norm_master: norm_master.o norm_slave.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o norm_master norm_master.o norm_slave.o $(LIBS)
norm_slave: norm_slave.o $(FORTLIB) $(LIB)
$(FC) $(MDEP_FFLAGS) -o norm_slave $(MAIN) norm_slave.o $(LIBS)
comm_master: comm_master.o comm_slave.o $(LIB)
$(FC) $(MDEP_FFLAGS) -o comm_master comm_master.o comm_slave.o $(LIBS)
comm_slave: comm_slave.o $(LIB)
$(FC) $(MDEP_FFLAGS) -o comm_slave $(MAIN) comm_slave.o $(LIBS)
realclean: clean
$(RM) -f norm_master norm_slave comm_master comm_slave \
Makefile p4f.h